1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shiori_ynh.git synced 2024-09-03 20:26:17 +02:00
shiori_ynh/conf/systemd.service
2023-07-21 18:26:10 +02:00

16 lines
359 B
Desktop File

[Unit]
Description=Shiori: simple bookmark manager
Requires=network-online.target
After=network-online.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/
ExecStart=__INSTALL_DIR__/shiori serve --port __PORT__ --webroot __PATH__
Restart=always
Environment="SHIORI_DIR=__DATA_DIR__"
[Install]
WantedBy=multi-user.target