Peter Kurfer
63a446d7e5
- add systemd service - add default file - improve logging to see what kind of errors might occur - ship multiple prepared config files and replace original one with a symlink - fix current working directory getter
15 lines
No EOL
341 B
Desktop File
15 lines
No EOL
341 B
Desktop File
[Unit]
|
|
Description=INetMock is a simple service to simulate a valid internet connection
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=inetmock
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
MemoryMax=50M
|
|
CPUQuota=20%
|
|
EnvironmentFile=/etc/default/inetmock
|
|
ExecStart=/usr/bin/inetmock $OPTIONS
|
|
WorkingDirectory=/var/lib/inetmock
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |