diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
commit | 46eedbedafdb0040c37884982d4c775ce277fb7b (patch) | |
tree | db33a91259730be84999e13a8d8168c799f50ac0 /app-i18n/yaskkserv2/files | |
parent | e23a08d0c97a0cc415aaa165da840b056f93c997 (diff) |
gentoo resync : 20.10.2021
Diffstat (limited to 'app-i18n/yaskkserv2/files')
-rw-r--r-- | app-i18n/yaskkserv2/files/yaskkserv2.confd | 2 | ||||
-rw-r--r-- | app-i18n/yaskkserv2/files/yaskkserv2.initd | 13 | ||||
-rw-r--r-- | app-i18n/yaskkserv2/files/yaskkserv2.service | 12 |
3 files changed, 27 insertions, 0 deletions
diff --git a/app-i18n/yaskkserv2/files/yaskkserv2.confd b/app-i18n/yaskkserv2/files/yaskkserv2.confd new file mode 100644 index 000000000000..88aa250a0128 --- /dev/null +++ b/app-i18n/yaskkserv2/files/yaskkserv2.confd @@ -0,0 +1,2 @@ +# Options to pass to yaskkserv2 +YASKKSERV2_OPTS= diff --git a/app-i18n/yaskkserv2/files/yaskkserv2.initd b/app-i18n/yaskkserv2/files/yaskkserv2.initd new file mode 100644 index 000000000000..c07a1b30eadc --- /dev/null +++ b/app-i18n/yaskkserv2/files/yaskkserv2.initd @@ -0,0 +1,13 @@ +#!/sbin/openrc-run +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/sbin/${RC_SVCNAME}" +command_args="--no-daemonize ${YASKKSERV2_OPTS}" +command_background="true" +pidfile="${pidfile:-/run/${RC_SVCNAME}.pid}" + +depend() { + need net + use logger +} diff --git a/app-i18n/yaskkserv2/files/yaskkserv2.service b/app-i18n/yaskkserv2/files/yaskkserv2.service new file mode 100644 index 000000000000..860da38ff83a --- /dev/null +++ b/app-i18n/yaskkserv2/files/yaskkserv2.service @@ -0,0 +1,12 @@ +[Unit] +Description=Yet Another SKK server +Requires=network-online.target +After=network-online.target + +[Service] +User=nobody +EnvironmentFile=/etc/conf.d/yaskkserv2 +ExecStart=/usr/sbin/yaskkserv2 --no-daemonize ${YASKKSERV2_OPTS} + +[Install] +WantedBy=multi-user.target |