buildroot/package/dante/dante.service
Maxime Hadjinlian 467e3ea2b9 dante: new package
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[Thomas:
 - Add dependency on BR2_USE_MMU
 - Rewrap Config.in help text
 - PID file goes in /var/run/
 - Daemon to start is /usr/sbin/sockd, not /usr/sbin/dante
 - Remove staging installation, as it is not needed
 - Remove --enable-debug, since that's not what BR2_ENABLE_DEBUG is
   meant for
 - Install an example configuration file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-05 17:59:19 +02:00

16 lines
346 B
Desktop File

[Unit]
Description=SOCKS v4 and v5 compatible proxy server and client
Requires=network.target
After=network.target
[Service]
Type=forking
EnvironmentFile=-/etc/default/dante
PIDFile=/run/dante.pid
ExecStart=/usr/sbin/sockd -D -p /run/dante.pid $DAEMON_ARGS
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
[Install]
WantedBy=multi-user.target