summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-12-22 09:39:40 +0000
committerPacho Ramos <pacho@gentoo.org>2013-12-22 09:39:40 +0000
commitcbd41f65835a21ddb1826ed89ad4a2685b7f6d37 (patch)
treebaa153d6c3f907f8e76dfd5c9a6b1d4d93dd1f53 /app-mobilephone/smstools/files
parentAdd unit file (#493978) (diff)
downloadhistorical-cbd41f65835a21ddb1826ed89ad4a2685b7f6d37.tar.gz
historical-cbd41f65835a21ddb1826ed89ad4a2685b7f6d37.tar.bz2
historical-cbd41f65835a21ddb1826ed89ad4a2685b7f6d37.zip
Add unit file (#493908 by Marcin Kowalski)
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'app-mobilephone/smstools/files')
-rw-r--r--app-mobilephone/smstools/files/smsd.service11
-rw-r--r--app-mobilephone/smstools/files/smsd.tmpfiles1
2 files changed, 12 insertions, 0 deletions
diff --git a/app-mobilephone/smstools/files/smsd.service b/app-mobilephone/smstools/files/smsd.service
new file mode 100644
index 000000000000..1fb436681b4b
--- /dev/null
+++ b/app-mobilephone/smstools/files/smsd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=SMS Server Tools 3
+
+[Service]
+User=smsd
+PIDFile=/run/smsd/smsd.pid
+ExecStart=/usr/bin/smsd -n MAINPROCESS -l/var/log/smsd.log \
+ -p/run/smsd/smsd.pid -i/run/smsd/smsd.working
+
+[Install]
+WantedBy=multi-user.target
diff --git a/app-mobilephone/smstools/files/smsd.tmpfiles b/app-mobilephone/smstools/files/smsd.tmpfiles
new file mode 100644
index 000000000000..8978d18f54ad
--- /dev/null
+++ b/app-mobilephone/smstools/files/smsd.tmpfiles
@@ -0,0 +1 @@
+d /run/smsd 0755 smsd sms -