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