1 parent
f47217d5a3
commit
8ceb3c8be8
60 files changed
+10884
No files matched your search
@@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=jellymove agent
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
# Run as the same user that owns your media (usually the jellyfin user).
|
||||
User=jellyfin
|
||||
Group=jellyfin
|
||||
ExecStart=/usr/local/bin/jellymove --config /etc/jellymove/jellymove.toml run
|
||||
Environment=JELLYMOVE_LOG=info
|
||||
# systemd creates /var/lib/jellymove owned by User=; set data_dir to it.
|
||||
StateDirectory=jellymove
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
# Transfers resume after a restart, so a plain stop is safe.
|
||||
KillSignal=SIGTERM
|
||||
NoNewPrivileges=true
|
||||
ProtectSystem=full
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user