17 lines
366 B
Desktop File
17 lines
366 B
Desktop File
[Unit]
|
|
Description=Service that takes screenshots for users of the Rentgen addon
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/root/ss
|
|
ExecStartPre=/usr/bin/bash -c 'docker rm -f $(docker ps | grep headless-fox | awk \'{print $1}\')'
|
|
ExecStart=node /root/ss
|
|
Restart=on-failure
|
|
RestartSec=1s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|