aboutsummaryrefslogtreecommitdiffstats
path: root/community/at/atd.initd
diff options
context:
space:
mode:
authorScrumpyJack <scrumpyjack@st.ilet.to>2016-06-27 10:17:05 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-07-04 11:42:28 +0200
commit2ff62bbb9f7b2c82a826d7b159c1bc482aa8f0bd (patch)
tree97c60fb3221dfe78cd7ccfda5db6125c81d5f676 /community/at/atd.initd
parent00e8ff605f1c4f6386596f35f2a5287ff9b8bc55 (diff)
downloadaports-2ff62bbb9f7b2c82a826d7b159c1bc482aa8f0bd.tar.gz
aports-2ff62bbb9f7b2c82a826d7b159c1bc482aa8f0bd.tar.bz2
aports-2ff62bbb9f7b2c82a826d7b159c1bc482aa8f0bd.tar.xz
testing/[various]: move packages to community
Moves the packages listed below from the testing to the community repository after successfully testing of said packages. asciinema at calcurse cmus compton cpio dvd+rw-tools fortune fvwm geary h2o heirloom-mailx leafpad nedit nmh rover tor torsocks urlview vdesk w3m wbar xcalc xclock xeyes xkill
Diffstat (limited to 'community/at/atd.initd')
-rw-r--r--community/at/atd.initd27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/at/atd.initd b/community/at/atd.initd
new file mode 100644
index 0000000000..733e5d04dd
--- /dev/null
+++ b/community/at/atd.initd
@@ -0,0 +1,27 @@
+#!/sbin/openrc-run
+
+# init.d file for atd (command scheduling daemon)
+
+command="/usr/sbin/$SVCNAME"
+pidfile="/var/run/$SVCNAME.pid"
+
+depend() {
+ after localmount
+}
+
+start() {
+ ebegin "Starting command scheduling daemon ${SVCNAME}"
+ start-stop-daemon --start --quiet \
+ --pidfile ${pidfile} \
+ --exec ${command}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping command scheduling daemon ${name}"
+ start-stop-daemon --stop --quiet \
+ --pidfile ${pidfile} \
+ --exec ${command}
+ eend $?
+}
+