35 lines
721 B
Desktop File
35 lines
721 B
Desktop File
[Unit]
|
|
Description=Krta service
|
|
Documentation=https://docs.krta.io/
|
|
|
|
AssertPathIsDirectory=/var/lib/krta
|
|
AssertPathIsReadWrite=/var/lib/krta
|
|
|
|
After=network.target
|
|
Requires=network.target
|
|
After=mysqld.service
|
|
After=postgresql-9.5.service
|
|
After=postgresql-9.6.service
|
|
After=postgresql-10.service
|
|
After=postgresql-11.service
|
|
After=postgresql-12.service
|
|
After=postgresql-13.service
|
|
After=postgresql-14.service
|
|
After=memcached.service
|
|
After=redis.service
|
|
|
|
[Service]
|
|
User=git
|
|
Group=git
|
|
|
|
Environment="KTRA_WORK_DIR=/var/lib/krta" "KTRA_CUSTOM=/var/lib/krta/custom"
|
|
WorkingDirectory=/var/lib/krta
|
|
ExecStart=/usr/bin/krta web --config /etc/krta/app.ini
|
|
|
|
Restart=always
|
|
PrivateTmp=true
|
|
Nice=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|