ralphlange / procServ

Wrapper to start arbitrary interactive commands in the background, with telnet or Unix domain socket access to stdin/stdout
GNU General Public License v3.0
23 stars 23 forks source link

fixed the systemd utils #29

Closed kingspride closed 5 years ago

kingspride commented 5 years ago

Tested it under ubuntu server 16.04 LTS.

The scripts now actually create a service file in ~/.config/procServ.d/ or /etc/procServ.d/ respectively, and register it as a service with the systemctl enable command rather than just copying them / linking them into the systemd directories. (~/.config/systemd/user or /etc/systemd/system) this way, its easier to remove them again.

also, the behaviour on removing a service via the manage-procs script changed: if the service is still running, manage-procs now automatically stops it and then removes it...

~ William