diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
commit | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch) | |
tree | c8af0fd04194aed03cf067d44e53c7edd3e9ab84 /app-laptop/tuxedo-control-center-bin/files | |
parent | e9d044d4b9b71200a96adfa280848858c0f468c9 (diff) |
gentoo resync : 05.12.2021
Diffstat (limited to 'app-laptop/tuxedo-control-center-bin/files')
-rw-r--r-- | app-laptop/tuxedo-control-center-bin/files/tccd.initd | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/app-laptop/tuxedo-control-center-bin/files/tccd.initd b/app-laptop/tuxedo-control-center-bin/files/tccd.initd new file mode 100644 index 000000000000..ced84c8baa60 --- /dev/null +++ b/app-laptop/tuxedo-control-center-bin/files/tccd.initd @@ -0,0 +1,25 @@ +#!/sbin/openrc-run +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +name=$RC_SVCNAME +description="TUXEDO Control Center Service" +supervisor="supervise-daemon" +command="/opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/service/tccd" +command_args="--start" + +depend() { + need localmount +} + +start(){ + ebegin "Starting $RC_SVCNAME" + start-stop-daemon -b --start /opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/service/tccd -- --start + eend $? +} + +stop() { + ebegin "Stopping $RC_SVCNAME" + /opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/service/tccd --stop + eend $? +} |