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..0f2b02c674cd --- /dev/null +++ b/net-news/amphetadesk/files/amphetadesk.initd @@ -0,0 +1,15 @@ +#!/sbin/openrc-run + +start() { + ebegin "Starting AmphetaDesk" + cd /usr/share/amphetadesk + ./AmphetaDesk.pl > /dev/null & + eend 0 +} + +stop() { + ebegin "Stoping AmphetaDesk" + killall AmphetaDesk.pl + eend 0 +} + |