2022-01-10 15:18:34 +01:00
|
|
|
[Unit]
|
2023-01-21 09:16:26 +01:00
|
|
|
Description=Shiori: simple bookmark manager
|
2022-01-12 10:22:29 +01:00
|
|
|
Requires=network-online.target
|
|
|
|
After=network-online.target
|
2022-01-10 15:18:34 +01:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=__APP__
|
|
|
|
Group=__APP__
|
2023-02-03 18:33:29 +01:00
|
|
|
WorkingDirectory=__INSTALL_DIR__/
|
2024-03-17 21:33:26 +01:00
|
|
|
ExecStart=__INSTALL_DIR__/shiori server --port __PORT__ --webroot __PATH__
|
2022-01-12 10:18:27 +01:00
|
|
|
Restart=always
|
2023-02-03 18:33:29 +01:00
|
|
|
Environment="SHIORI_DIR=__DATA_DIR__"
|
2022-01-10 15:18:34 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|