17 lines
340 B
SYSTEMD
17 lines
340 B
SYSTEMD
|
[Unit]
|
||
|
Description=linkding
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
EnvironmentFile=/etc/default/linkding
|
||
|
ExecStart=/usr/bin/python3 /usr/share/linkding/manage.py runserver 0.0.0.0:8000
|
||
|
WorkingDirectory=/var/lib/linkding
|
||
|
StandardOutput=inherit
|
||
|
StandardError=inherit
|
||
|
Restart=always
|
||
|
User=linkding
|
||
|
Group=linkding
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|