mirror of
https://github.com/YunoHost-Apps/cjdns_ynh.git
synced 2024-09-03 18:16:29 +02:00
proxy in service
This commit is contained in:
parent
94098d8a7e
commit
721461a573
2 changed files with 1 additions and 7 deletions
|
@ -7,6 +7,7 @@ User=root
|
|||
Group=root
|
||||
WorkingDirectory=__INSTALL_DIR__/
|
||||
ExecStart=/bin/bash -c '__INSTALL_DIR__/cjdroute < __INSTALL_DIR__/cjdroute.conf'
|
||||
ExecStartPost=/bin/bash -c 'sleep 3 && __INSTALL_DIR__/cjdns-proxy-server'
|
||||
KillMode=process
|
||||
Restart=no
|
||||
|
||||
|
|
|
@ -91,13 +91,6 @@ ynh_script_progression --message="Starting $app's systemd service..." --weight=1
|
|||
# Start a systemd service
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
|
||||
|
||||
#=================================================
|
||||
# LAUNCH CJDNS PROXY SERVER
|
||||
#=================================================
|
||||
ynh_script_progression --message="Launching cjdns proxy server..." --weight=1
|
||||
|
||||
$install_dir/cjdns-proxy-server
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue