1
0
forked from pool/hiawatha

Accepting request 195359 from home:Fisiu:branches:server:http

OBS-URL: https://build.opensuse.org/request/show/195359
OBS-URL: https://build.opensuse.org/package/show/server:http/hiawatha?expand=0&rev=49
This commit is contained in:
Mariusz Fik 2013-08-15 13:33:54 +00:00 committed by Git OBS Bridge
parent d827982e54
commit 0d7336522d
4 changed files with 9 additions and 9 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Aug 13 22:56:19 UTC 2013 - fisiu@opensuse.org
- Don't use cutom pid file in systemd service.
- Fix logrotate config.
- Spec cleanup.
-------------------------------------------------------------------
Thu Aug 1 19:39:47 UTC 2013 - fisiu@opensuse.org

View File

@ -8,6 +8,6 @@
missingok
create 640 wwwrun www
postrotate
/etc/init.d/hiawatha force-reload
systemctl reload-or-try-restart hiawatha.service
endscript
}

View File

@ -4,10 +4,9 @@ After=network.target
[Service]
Type=simple
PIDFile=/var/run/hiawatha.pid
SyslogIdentifier=hiawatha
ExecStartPre=/usr/sbin/wigwam ; /usr/sbin/hiawatha -k
ExecStart= /usr/sbin/hiawatha -d
ExecStart=/usr/sbin/hiawatha -d
[Install]
WantedBy=multi-user.target

View File

@ -34,8 +34,6 @@ BuildRequires: cmake >= 2.8.4
BuildRequires: pkg-config
BuildRequires: systemd
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %fillup_prereq
PreReq: %insserv_prereq
Requires: logrotate
%{?systemd_requires}
@ -98,10 +96,6 @@ rm -vf %{buildroot}%{_libdir}/%{name}/libpolarssl.so
%post
%service_add_post %{name}.service
echo
echo "To activate the service, run as root"
echo "# systemctl enable %{name}.service"
echo
%preun
%service_del_preun %{name}.service