Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
SME10 serviceControl
(view source)
Revision as of 16:25, 1 April 2021
18 bytes removed
,
16:25, 1 April 2021
→Previous pure Syvinit service, with a provided systemd unit
Line 544:
Line 544:
you will need to plan a createlinks addition :<syntaxhighlight lang="perl">
you will need to plan a createlinks addition :<syntaxhighlight lang="perl">
#smeserver-dovecot-update
#smeserver-dovecot-update
+
my $event="smeserver-dovecot-update";
# services to adjust
# services to adjust
−
safe_symlink("restart", "root/etc/e-smith/events/
smeserver-dovecot-update
/services2adjust/dovecot");
+
safe_symlink("restart", "root/etc/e-smith/events/
$event
/services2adjust/dovecot");
−
safe_symlink("restart", "root/etc/e-smith/events/
smeserver-dovecot-update
/services2adjust/rsyslog");
+
safe_symlink("restart", "root/etc/e-smith/events/
$event
/services2adjust/rsyslog");
# specific actions we want for this package
# specific actions we want for this package
−
event_link("adjust-dovecot",
"smeserver-dovecot-update"
, "02");
+
event_link("adjust-dovecot",
$event
, "02");
# systemd-specific action mandatory for this package-update event
# systemd-specific action mandatory for this package-update event
Unnilennium
Super Admin, Wiki & Docs Team,
Bureaucrats
,
Interface administrators
,
Administrators
3,254
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version