update: systemd pueued.service util files

This commit is contained in:
Arne Beer 2021-07-06 02:13:34 +02:00
parent 912cfb92f2
commit 69d888769b
No known key found for this signature in database
GPG Key ID: CC9408F679023B65
2 changed files with 1 additions and 19 deletions

View File

@ -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

View File

@ -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