added seafile config and systemd unit file

nvim
spinach 2 years ago
parent be08359426
commit c8c570933e

@ -10,3 +10,4 @@
- clean: - clean:
~/: ~/:
~/.config: ~/.config:
~/.config/systemd/user:

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

@ -16,3 +16,4 @@ rofi
lf lf
scripts scripts
calcurse calcurse
seafile

@ -15,3 +15,4 @@ rofi
lf lf
scripts scripts
calcurse calcurse
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…
Cancel
Save