added seafile config and systemd unit file
This commit is contained in:
parent
be08359426
commit
c8c570933e
@ -10,3 +10,4 @@
|
|||||||
- clean:
|
- clean:
|
||||||
~/:
|
~/:
|
||||||
~/.config:
|
~/.config:
|
||||||
|
~/.config/systemd/user:
|
||||||
|
8
meta/configs/seafile.yaml
Normal file
8
meta/configs/seafile.yaml
Normal file
@ -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
|
||||||
|
12
services/seafile.service
Normal file
12
services/seafile.service
Normal file
@ -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…
x
Reference in New Issue
Block a user