mirror of
https://github.com/YunoHost-Apps/rportd_ynh.git
synced 2024-09-03 20:16:15 +02:00
24 lines
505 B
Desktop File
24 lines
505 B
Desktop File
[Unit]
|
|
Description=Create reverse tunnels with ease.
|
|
ConditionFileIsExecutable=__FINALPATH__/bin/rportd
|
|
After=rport-guacd.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=__APP__
|
|
Group=__APP__
|
|
WorkingDirectory=__FINALPATH__/
|
|
EnvironmentFile=-/etc/sysconfig/rportd
|
|
ExecStart=__FINALPATH__/bin/rportd "-c" "__FINALPATH__/rportd.conf"
|
|
StartLimitInterval=5
|
|
StartLimitBurst=10
|
|
|
|
LimitNPROC=512
|
|
LimitNOFILE=1048576
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
Restart=always
|
|
|
|
RestartSec=120
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|