Seafile: systemd User-Service statt i3 exec für seaf-cli
- seaf-cli start aus i3 autostart entfernt - systemd User-Service erstellt (Restart bei Netzwerkproblemen, Logging via journalctl) - Ansible-Tasks für Service-Deployment und Aktivierung hinzugefügt
This commit is contained in:
@@ -80,7 +80,6 @@ exec --no-startup-id xautolock -time 10 -locker blurlock
|
||||
exec --no-startup-id autorandr --change
|
||||
exec --no-startup-id greenclip daemon
|
||||
exec_always --no-startup-id autotiling
|
||||
exec --no-startup-id seaf-cli start
|
||||
exec --no-startup-id keepassxc --keyfile /home/kalle/kgokeyfile /home/kalle/Passwords.kdbx
|
||||
exec --no-startup-id sysinfo-notify
|
||||
|
||||
|
||||
13
files/configs/systemd/seaf-cli.service
Normal file
13
files/configs/systemd/seaf-cli.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Seafile CLI Client Daemon
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/seaf-cli start
|
||||
ExecStop=/usr/bin/seaf-cli stop
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user