diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-08 23:48:22 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-08 23:50:22 +0100 |
commit | 90faedd379245667261c1ebdaf33fb5dc24a84c7 (patch) | |
tree | 4cfdc77324e18cf287fd5174820b5b561e07c668 /testing/netatalk | |
parent | 6a9c0d5e62afefec378c2ddf5a18bc43f3a61b6c (diff) | |
download | aports-90faedd379245667261c1ebdaf33fb5dc24a84c7.tar.bz2 aports-90faedd379245667261c1ebdaf33fb5dc24a84c7.tar.xz |
testing/netatalk: fix runscript
Diffstat (limited to 'testing/netatalk')
-rw-r--r-- | testing/netatalk/APKBUILD | 2 | ||||
-rw-r--r-- | testing/netatalk/netatalk.initd | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/testing/netatalk/APKBUILD b/testing/netatalk/APKBUILD index 6edca09d21..f132874138 100644 --- a/testing/netatalk/APKBUILD +++ b/testing/netatalk/APKBUILD @@ -59,4 +59,4 @@ package() { } sha512sums="002aacc87778cd88ce544b69fc44052f32d07fce34858b20e760e771700d10552189a39a43943b193e22737de74e9be6934bf4c54d3207b615a1ceb4ecaf9a9e netatalk-3.1.10.tar.gz -2a64e3ae40d930a91d3516eea9ddcb63a542101fe2ee74b3903bd2fbeadd891bfd8c37f8893fe0d53fa6dc32f12b70498478f10804667569a13e1e16d0103a09 netatalk.initd" +c4dc6b1967f4b86ee2f1cfc480edab5467fb1f67fd0cbbed23c8454568d0aaceeedaa23db90f8ca5b47f24d346f72d5e12307557edfeeefcbee003f85c56cced netatalk.initd" diff --git a/testing/netatalk/netatalk.initd b/testing/netatalk/netatalk.initd index 0ae9c57d1a..3fdb482de4 100644 --- a/testing/netatalk/netatalk.initd +++ b/testing/netatalk/netatalk.initd @@ -1,19 +1,19 @@ #!/sbin/openrc-run -name=netatalk -command="/usr/sbin/$name" -command_args="-F /etc/afp.conf" -command_background="yes" +extra_started_commands="reload" +description_reload="Reload configuration file" -pidfile="/run/$name.pid" +command="/usr/sbin/netatalk" depend() { need net + use logger dns after firewall } -stop() { - ebegin "Stopping $name" - start-stop-daemon -K -p /var/lock/netatalk +reload() { + ebegin "Reloading $name" + + start-stop-daemon --signal SIGHUP --name $command eend $? } |