debmaker/ressources/joplin-server/rootfs/etc/systemd/system/joplin-server.service
2022-01-23 21:49:01 +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