debmaker/ressources/joplin-server/rootfs/usr/lib/systemd/system/joplin-server.service

18 lines
381 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/share/joplin-server/server/ start
WorkingDirectory=/var/lib/joplin-server/
Restart=on-failure
RestartSec=30s
[Install]
WantedBy=multi-user.target