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:
2026-02-15 21:46:38 +01:00
parent 8d8a51d8b4
commit e7091e538d
3 changed files with 33 additions and 1 deletions

View 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