OSDN Git Service

seatd: improve:
authormobinmob <mobinmob@disroot.org>
Thu, 16 Sep 2021 16:27:05 +0000 (19:27 +0300)
committermobinmob <mobinmob@disroot.org>
Thu, 16 Sep 2021 16:27:05 +0000 (19:27 +0300)
- bump @version
- use [environment] for arguments.

usr/share/66/service/seatd

index 082f0f9..1c953a5 100644 (file)
@@ -1,11 +1,12 @@
 [main]
 @type = classic
-@version = 0.0.1
+@version = 0.0.2
 @description = "seat daemon"
 @user = ( root )
 
 [start]
-@execute = ( seatd -g _seatd )
+@execute = ( execl-cmdline -s { seatd ${cmd_args} } )
 
 [environment]
 SEATD_LOGLEVEL=error
+cmd_args=!-g _seatd