Bug #3044
closedInvalid option '-f' in systemd unit file
0%
Description
The osmo-ggsn.service file [1] contains the '-f' switch, which is not a valid option (anymore?).
[1] https://osmocom.org/projects/openggsn/repository/revisions/master/entry/contrib/osmo-ggsn.service
Updated by laforge over 5 years ago
- Assignee set to stsp
- Priority changed from Low to High
Updated by stsp over 5 years ago
In dda21ed7d4a897c9284c69175d0da598598eae40 from August 2017, osmo-ggsn getopt parsing was changed from a
custom command line parser (called "cmdline_parser") to standard getopt. The old parser supported the
--fg option ("run in foreground"), and -f was an alias for --fg.
In the same commit a new '--daemonize' option was introduced which enables background execution and defaults to off.
So the former behaviour with -f is now the default behaviour.
It looks like commit dda21ed7d4a897c9284c69175d0da598598eae40 simply overlooked the systemd config file.
Updated by stsp over 5 years ago
- Status changed from In Progress to Resolved
Above change has been merged.