X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6ab0ce51a63441ab865e75fd631e4f363067d58e..c94bf8a43922c544b485e50ea1f37f41a45821f5:/projects/stargazer/inst/linux/etc/init.d/stargazer.gentoo?ds=sidebyside

diff --git a/projects/stargazer/inst/linux/etc/init.d/stargazer.gentoo b/projects/stargazer/inst/linux/etc/init.d/stargazer.gentoo
index 4f43ce8b..daa0fd67 100755
--- a/projects/stargazer/inst/linux/etc/init.d/stargazer.gentoo
+++ b/projects/stargazer/inst/linux/etc/init.d/stargazer.gentoo
@@ -1,6 +1,6 @@
 #!/sbin/runscript
 
-opts="reload"
+extra_commands="reload"
 
 DAEMON=/usr/sbin/stargazer
 STARGAZER_OPTS=""
@@ -14,7 +14,7 @@ depend() {
 
 start() {
 	ebegin "Starting stargazer"
-	start-stop-daemon --start --quiet --exec ${DAEMON} -- ${STARGAZER_OPTS}
+	start-stop-daemon --start --quiet --pidfile ${PIDFILE} --exec ${DAEMON} -- ${STARGAZER_OPTS}
 	eend $?
 }