mirror of
https://github.com/nukesor/pueue
synced 2024-09-29 20:44:03 +00:00
update: systemd pueued.service util files
This commit is contained in:
parent
912cfb92f2
commit
69d888769b
|
@ -1,16 +0,0 @@
|
|||
[Unit]
|
||||
Description=Remote pueue forward
|
||||
ConditionPathExists=|/usr/bin
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStartPre=rm -f ~/.local/share/pueue/remote.sock
|
||||
ExecStart=/usr/bin/ssh -L ~/.local/share/pueue/remote.sock:/home/$REMOTEUSER/.local/share/pueue/pueue_$USER.sock $REMOTEUSER@remote_host
|
||||
|
||||
|
||||
# Restart every >2 seconds to avoid StartLimitInterval failure
|
||||
RestartSec=5
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -7,9 +7,7 @@ Description=Pueue Daemon - CLI process scheduler and manager
|
|||
|
||||
[Service]
|
||||
Restart=no
|
||||
Environment=ASYNC_STD_THREAD_COUNT=4
|
||||
ExecStart=/usr/bin/pueued
|
||||
ExecReload=/usr/bin/pueued
|
||||
ExecStart=/usr/bin/pueued -vv
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
Loading…
Reference in a new issue