Tomas Cejka | c95271a | 2016-03-02 09:07:19 +0100 | [diff] [blame] | 1 | # It's not recommended to modify this file in-place, because it will be |
| 2 | # overwritten during package upgrades. If you want to customize, the best |
| 3 | # way is to create a file "/etc/systemd/system/netopeerguid.service", |
| 4 | # containing |
| 5 | # .include /lib/systemd/system/netopeerguid.service |
| 6 | # ...make your changes here... |
| 7 | # For more info about custom unit files, see |
| 8 | # http://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F |
| 9 | # |
| 10 | # For example, to pass additional options (for instance, -D definitions) to the |
| 11 | # supervisor binary at startup, you need to create a file named |
| 12 | # "/etc/systemd/system/netopeerguid.service" containing: |
| 13 | # .include /lib/systemd/system/netopeerguid.service |
| 14 | # [Service] |
| 15 | # Environment=OPTIONS=-DMY_DEFINE |
| 16 | |
| 17 | [Unit] |
| 18 | Description=NetopeerGUI backend daemon |
| 19 | After=network.target local-fs.target remote-fs.target |
| 20 | |
| 21 | [Service] |
| 22 | Type=simple |
| 23 | Environment=LANG=C |
Tomas Cejka | 18e505a | 2016-03-14 09:43:46 -0400 | [diff] [blame^] | 24 | ExecStart=@absbindir@/netopeerguid |
Tomas Cejka | c95271a | 2016-03-02 09:07:19 +0100 | [diff] [blame] | 25 | KillMode=process |
| 26 | PrivateTmp=false |
| 27 | |
| 28 | [Install] |
| 29 | WantedBy=multi-user.target |