diff options
Diffstat (limited to 'net-news/amphetadesk/files/amphetadesk.initd')
-rw-r--r-- | net-news/amphetadesk/files/amphetadesk.initd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-news/amphetadesk/files/amphetadesk.initd b/net-news/amphetadesk/files/amphetadesk.initd new file mode 100644 index 000000000000..288a11bc1ea6 --- /dev/null +++ b/net-news/amphetadesk/files/amphetadesk.initd @@ -0,0 +1,15 @@ +#!/sbin/runscript + +start() { + ebegin "Starting AmphetaDesk" + cd /usr/share/amphetadesk + ./AmphetaDesk.pl > /dev/null & + eend 0 +} + +stop() { + ebegin "Stoping AmphetaDesk" + killall AmphetaDesk.pl + eend 0 +} + |