23 lines
459 B
Desktop File
23 lines
459 B
Desktop File
[Unit]
|
|
Description=Tracd Standalone Server
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/home/trac/
|
|
ExecStart=bash -c '/usr/sbin/tracd --pidfile /tmp/tracd.pid -p 8055 --basic-auth="*,.htpasswd,realm" $(ls -d */)'
|
|
PIDFile=/tmp/tracd.pid
|
|
ExecStop=/bin/kill $MAINPID
|
|
KillMode=process
|
|
Restart=on-failure
|
|
|
|
PrivateTmp=yes
|
|
ProtectSystem=strict
|
|
ReadWritePaths=/home/trac
|
|
NoNewPrivileges=yes
|
|
User=trac
|
|
Group=trac
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|