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:
parent
d827982e54
commit
0d7336522d
@ -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
|
Thu Aug 1 19:39:47 UTC 2013 - fisiu@opensuse.org
|
||||||
|
|
||||||
|
@ -8,6 +8,6 @@
|
|||||||
missingok
|
missingok
|
||||||
create 640 wwwrun www
|
create 640 wwwrun www
|
||||||
postrotate
|
postrotate
|
||||||
/etc/init.d/hiawatha force-reload
|
systemctl reload-or-try-restart hiawatha.service
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
@ -4,10 +4,9 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
PIDFile=/var/run/hiawatha.pid
|
|
||||||
SyslogIdentifier=hiawatha
|
SyslogIdentifier=hiawatha
|
||||||
ExecStartPre=/usr/sbin/wigwam ; /usr/sbin/hiawatha -k
|
ExecStartPre=/usr/sbin/wigwam ; /usr/sbin/hiawatha -k
|
||||||
ExecStart= /usr/sbin/hiawatha -d
|
ExecStart=/usr/sbin/hiawatha -d
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -34,8 +34,6 @@ BuildRequires: cmake >= 2.8.4
|
|||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
PreReq: %fillup_prereq
|
|
||||||
PreReq: %insserv_prereq
|
|
||||||
Requires: logrotate
|
Requires: logrotate
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
@ -98,10 +96,6 @@ rm -vf %{buildroot}%{_libdir}/%{name}/libpolarssl.so
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
%service_add_post %{name}.service
|
%service_add_post %{name}.service
|
||||||
echo
|
|
||||||
echo "To activate the service, run as root"
|
|
||||||
echo "# systemctl enable %{name}.service"
|
|
||||||
echo
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%service_del_preun %{name}.service
|
%service_del_preun %{name}.service
|
||||||
|
Loading…
Reference in New Issue
Block a user