added seafile config and systemd unit file
parent
be08359426
commit
c8c570933e
@ -0,0 +1,8 @@
|
|||||||
|
- link:
|
||||||
|
~/.config/systemd/user/seafile.service: services/seafile.service
|
||||||
|
|
||||||
|
- shell:
|
||||||
|
-
|
||||||
|
command: "yay --sudoloop --nodiffmenu --noeditmenu --noupgrademenu --nocleanmenu --noredownload --norebuild --useask --needed -S seafile seafile-client"
|
||||||
|
description: "Installing seafile"
|
||||||
|
- command: "systemctl --user enable seafile && systemctl --user start seafile"
|
@ -0,0 +1,12 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Seafile Daemon Startup
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/bin/seaf-cli start
|
||||||
|
ExecStop=/usr/bin/seaf-cli stop
|
||||||
|
RemainAfterExit=yes
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
Loading…
Reference in New Issue