debmaker/ressources/joplin/rootfs-server/etc/systemd/system/joplin-server.service
thomas 55beb0e2e3 Another refactor
merge joplin and joplin-server
2022-02-28 23:26:47 +01:00

17 lines
379 B
Desktop File

[Unit]
Description=joplin server
Documentation=https://github.com/laurent22/joplin
After=network.target
[Service]
User=joplin-server
Group=joplin-server
EnvironmentFile=/etc/default/joplin-server
ExecStart=/usr/bin/yarn --cwd /usr/lib/joplin-server/server/ start
WorkingDirectory=/var/lib/joplin-server/
Restart=on-failure
RestartSec=30s
[Install]
WantedBy=multi-user.target